package com.micro.modual.mapper;


import com.micro.core.frame.mapper.BasicsMapper;
import com.micro.modual.entity.GoodsBrand;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
*  <h1></h1>
 * @author levelcoder
 * @version V1.0.0
 * @email LevelCoder@126.com
 * @date 2020-08-04 00:11:10
 */
public interface GoodsBrandMapper extends BasicsMapper<GoodsBrand>{


    /**
     * 查找所有可用品牌信息
     * @return
     */
    List<GoodsBrand> findBrandList();

    /**
     *
     * @param brandCode
     * @return
     */
    GoodsBrand findBrandByCode(@Param("brandCode") String brandCode);
}
